<!DOCTYPE html>

<html lang="en">

<head>

	<meta charset="UTF-8">

	<title data-ind="7">Sino Biopharm</title>
	<script type="text/javascript" src="js/location.js"></script>

	<meta name="renderer" content="webkit"/> 

	<meta http-equiv="X-UA-Compatible" content="IE=edge"> 

	<link rel="shortcut icon" href="images/favicon.ico">

	<link rel="stylesheet" type="text/css" href="css/swiper3.06.min.css">

	<link rel="stylesheet" type="text/css" href="css/animate.min.css">

	<link rel="stylesheet" type="text/css" href="css/style.css">

	<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>

	<script type="text/javascript" src="js/swiper.min.js"></script>

	<script type="text/javascript" src="js/swiper.animate1.0.2.min.js"></script>

	<script type="text/javascript" src="js/countUp.js"></script>

	<script type="text/javascript" src="js/jquery.waypoints.min.js"></script>

</head>

<body>



	<!-- PHOTOS 相框 -->

	<div class="PhotosFrame" id="PhotosFrame">

		<div id="ExitPhotosFrame"></div>

		<div class="nextFrame"></div>

		<div class="prevFrame"></div>

		<div class="imgCon">

			<div class="imc">

				<span>

					<img src="images/news/img_05.jpg">

				</span>

			</div>

			

		</div>

	</div>

	<!-- PHOTOS 相框 end -->





	<!-- goTop -->

	<section id="goTop">

		<a href="javascript:void(0);" class="icon"><i class="iconfont">&#xe645;</i></a>

		<p>TOP</p>

	</section>

	<!-- goTop end-->





	<!-- header -->

	<header id="header">

		

	</header>

	<!-- header end -->





	





	







<!-- FoxPro Banner-->
	<section class="FoxProBanner">
		<div class="centerCon">
			<div class="head">INVESTORS</div>
			<div class="line"><span></span></div>
			<div class="lujin"><a href="#">home</a> > <a href="#">INVESTORS</a></div>
		</div>
	</section>
	<!-- FoxPro Banner end-->









	<!-- STOCK  PRICES and VIDEO -->

	<section class="RaV">

		<div class="centerCon clearfloat" style="padding: 0 200px 200px;">

			<div class="STOCK" style="width: 100%">

				<h2 class="headerin"><span>STOCK  </span>PRICES</h2>

				<div class="neiC">

					<div class="word" id="STOCK_word">

						<p class="p1">SINO BIOPHARM(1177)</p>


						<p class="p3"></p>

						<p class="p4"></p> 
						<p class="p2"></p>
						

					</div>

				</div>

			</div>

		</div>

	</section>

	<!-- STOCK  PRICES and VIDEO end -->










	<div id="FooterCon">

		

	</div>



	<script type="text/javascript" src="js/public.js"></script>

	<script type="text/javascript" src="js/script.js"></script>

	

	<script type="text/javascript" src="header/header.js"></script>



	<script type="text/javascript" >
		 $.ajax({
	        url: 'http://47.89.20.150/czlycms/index.php?m=Web&a=getStock',
	        type: 'GET',
	        dataType: 'JSONP'
	    })
	    .done(function(data) {
	        console.log("success");
	        console.log(data);
	        $('#STOCK_word').find('.p2').text(data.time);
	        $('#STOCK_word').find('.p3').text('HK＄'+data.g_price);
	        $('#STOCK_word').find('.p4').text(isIfFun(data.isUp)+data.stock1+' | '+isIfFun(data.isUp)+data.stock2);
	        function isIfFun(data){
            if (data >0) {
                return '+ ';
            }else if(data < 0){
                return '- ';
            }else if (data == 0) {
                return ' ';
            }
        }
	    })
	    .fail(function() {
	        console.log("error");
	    });
	</script>

	

</body>

</html>
